package myJlite.dao;

import java.sql.SQLException;
import java.util.List;

import myJlite.entity.ExamVO;
import myJlite.entity.RoleVO;

public interface IExamDAO {
	public Integer add(ExamVO exam) throws SQLException ;

	public Integer delete(int id) throws SQLException;

	public Integer update(ExamVO exam) throws SQLException ;

	public ExamVO getByID(Long id) throws SQLException;
	
	public ExamVO getByVO(ExamVO examVO) throws SQLException;

	public List<?> getAll() throws SQLException ;

	public RoleVO fetchAuth(ExamVO examVO) throws SQLException;
}
